Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency debug to v4 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 8, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
debug ^2.6.6 -> ^4.0.0 age adoption passing confidence

Release Notes

debug-js/debug

v4.3.4

Compare Source

What's Changed

New Contributors

Full Changelog: debug-js/debug@4.3.3...4.3.4

v4.3.3

Compare Source

Patch Release 4.3.3

This is a documentation-only release. Further, the repository was transferred. Please see notes below.

Thank you to @​taylor1791 and @​kristofkalocsai for their contributions.


Repository Migration Information

I've formatted this as a FAQ, please feel free to open an issue for any additional question and I'll add the response here.

Q: What impact will this have on me?

In most cases, you shouldn't notice any change.

The only exception I can think of is if you pull code directly from https://github.com/visionmedia/debug, e.g. via a "debug": "visionmedia/debug"-type version entry in your package.json - in which case, you should still be fine due to the automatic redirection Github sets up, but you should also update any references as soon as possible.

Q: What are the security implications of this change?

If you pull code directly from the old URL, you should update the URL to https://github.com/debug-js/debug as soon as possible. The old organization has many approved owners and thus a new repository could (in theory) be created at the old URL, circumventing Github's automatic redirect that is in place now and serving malicious code. I (@​qix-) also wouldn't have access to that repository, so while I don't think it would happen, it's still something to consider.

Even in such a case, however, the officially released package on npm (debug) would not be affected. That package is still very much under control (even more than it used to be).

Q: What should I do if I encounter an issue related to the migration?

Search the issues first to see if someone has already reported it, and then open a new issue if someone has not.

Q: Why was this done as a 'patch' release? Isn't this breaking?

No, it shouldn't be breaking. The package on npm shouldn't be affected (aside from this patch release) and any references to the old repository should automatically redirect.

Thus, according to all of the "APIs" (loosely put) involved, nothing should have broken.

I understand there are a lot of edge cases so please open issues as needed so I can assist in any way necessary.

Q: Why was the repository transferred?

I'll just list them off in no particular order.

  • The old organization was defunct and abandoned.
  • I was not an owner of the old organization and thus could not ban the non-trivial amount of spam users or the few truly abusive users from the org. This hindered my ability to properly maintain this package.
  • The debug ecosystem intends to grow beyond a single package, and since new packages could not be created in the old org (nor did it make sense for them to live there), a new org made the most sense - especially from a security point of view.
  • The old org has way, way too many approved members with push access, for which there was nothing I could do. This presented a pretty sizable security risk given that many packages in recent years have fallen victim to backdoors and the like due to lax security access.
Q: Was this approved?

Yes.[archive]

Q: Do I need to worry about another migration sometime in the future?

No.

v4.3.2

Compare Source

Patch release 4.3.2

  • Caches enabled statuses on a per-logger basis to speed up .enabled checks (#​799)

Thank you @​omg!

v4.3.1

Compare Source

Patch release 4.3.1

v4.3.0

Compare Source

Minor release

  • Deprecated debugInstance.destroy(). Future major versions will not have this method; please remove it from your codebases as it currently does nothing.
  • Fixed quoted percent sign
  • Fixed memory leak within debug instances that are created dynamically

v4.2.0

Compare Source

Minor Release

  • Replaced phantomJS with chrome backend for browser tests
  • Deprecated and later removed Changelog.md in lieu of releases page
  • Removed bower.json (#​602)
  • Removed .eslintrc (since we've switched to XO)
  • Removed .coveralls.yml
  • Removed the build system that was in place for various alternate package managers
  • Removed the examples folder (#​650)
  • Switched to console.debug in the browser only when it is available (#​600)
  • Copied custom logger to namespace extension (#​646)
  • Added issue and pull request templates
  • Added "engines" key to package.json
  • Added ability to control selectColor (#​747)
  • Updated dependencies
  • Marked supports-color as an optional peer dependency

v4.1.1

Compare Source

This backport fixes a bug in coveralls configuration as well as the .extend() function.

Patches

v4.1.0

Compare Source

Minor Changes

  • migrate Makefile to npm scripts (4236585)
  • feat: Return namespaces string when invoking disable() (7ef8b41)

Massive thank you to @​mblarsen and @​outsideris for knocking out two long-awaited changes.

v4.0.1

Compare Source

This patch restores browserify functionality as well as keeping the intended functionality with Unpkg.com.

Patches
  • fix browserify and supply alternative unpkg entry point (closes #​606): 99c95e3

v4.0.0

Compare Source

A long-awaited release to debug is available now: 4.0.0.

Due to the delay in release and the number of changes made (including bumping dependencies in order to mitigate vulnerabilities), it is highly recommended maintainers update to the latest package version and test thoroughly.
This release drops support for Node 4 and 5 in alignment with the Node.js LTS Release Schedule.

Major Changes
Minor Changes
Patches
Credits

Huge thanks to @​DanielRuf, @​EirikBirkeland, @​KyleStay, @​Qix-, @​abenhamdine, @​alexey-pelykh, @​DiegoRBaquero, @​febbraro, @​kwolfy, and @​TooTallNate for their help!

v3.2.7

Compare Source

v3.2.6

Compare Source

This backport fixes a 4x performance regression when debug is disabled.

Patches

v3.2.5

Compare Source

This patch restores browserify functionality as well as keeping the intended functionality with Unpkg.com.

It is a backport of the 4.0.1 release.

Patches
  • fix browserify and supply alternative unpkg entry point (closes #​606): cc5f146

v3.2.4

Compare Source

3.2.4 is DEPRECATED. See https://github.com/visionmedia/debug/issues/603#issuecomment-420237335 for details.

This released fixed the missing files entry in package.json, mitigating the faulty 3.2.3 release.

v3.2.3

Compare Source

3.2.3 is DEPRECATED. See https://github.com/visionmedia/debug/issues/603#issuecomment-420237335 for details.

This release mitigated the breaking changes introduced in 3.2.0 where ./node.js was removed, breaking a very select few users on older releases of babel-core, as well as users that used an undocumented require('debug/node').

./node.js was temporarily added to the repository at this time; however, this release failed to include node.js in the files key in package.json and thus didn't fix the issue. 3.2.4 rectified this issue.

v3.2.2

Compare Source

3.2.2 is DEPRECATED. See https://github.com/visionmedia/debug/issues/603#issuecomment-420237335 for details.

This release mitigated the breaking changes introduced in 3.2.0 where ES6 features were being used on users of Node 4, causing crashes upon inclusion.

It employed a temporary Babel pass on the entire codebase in lieu of a hard reversion (so this version is, effectively, a backport of the fixes and features ultimately introduced in 4.0.0).

v3.2.1

Compare Source

3.2.1 is DEPRECATED. See https://github.com/visionmedia/debug/issues/603#issuecomment-420237335 for details.

This release, along with 3.2.0, were subsequently released together as 4.0.0 (a major bump). You can review the complete changes in that release's details.


A quick hotfix to address Browser builds - debug is now compiled down to IE8-compatible code via Babel upon release.

CDNs that honor the "browser": key in package.json should now reflect these changes (previously, they would serve the non-bundled ES6 version).

Patches
  • use babel-ified distributed source for browsers: b3f8f8e

v3.2.0

Compare Source

3.2.0 is DEPRECATED. See https://github.com/visionmedia/debug/issues/603#issuecomment-420237335 for details.

This release was intended to be the next release of Debug but introduced breaking changes that were overlooked at the time of release. As such it has been deprecated on npm and should not be used.

This release, along with 3.2.1, were subsequently released together as 4.0.0 (a major bump). You can review the included changes in that release's details.

v3.1.0

Compare Source

Minor Changes
  • Ignore package-lock.json: e7e568a
  • Remove component.json: 47747f3
  • Remove "component" from package.json: bdb7e01
  • Add DEBUG_HIDE_DATE env var: #​486
Patches
  • Correct spelling mistake: daf1a7c
  • Examples: fix colors printout: 7cd9e53
  • Fix browser detection: fdfa0f5
  • Remove ReDoS regexp in %o formatter: #​504
Credits

Huge thanks to @​amejiarosario and @​zhuangya for their help!

v3.0.1

Compare Source

v3.0.0

Compare Source

Featuring pretty new colors!

Major Changes
  • Remove DEBUG_FD: #​406
  • Make millisecond timer namespace specific and allow 'always enabled' output: #​408
  • Use Date#toISOString() instead to Date#toUTCString() when output is not a TTY: #​418
  • enabled() updates existing debug instances: #​440
Minor Changes
  • Add destroy() function: #​440
  • Document enabled flag: #​465
  • Support 256 colors: #​481
  • Update "browserify" to v14.4.0: 826fd94
  • Separate Node.js and web browser examples: 87880f6
  • Example: use %o formatter: 31f3343
  • More readme screenshots replaced: 25eb545
  • Add Namespace Colors section to readme: 8b5c438
  • Separate the Node and Browser tests in Travis: f178d86
Patches
Credits

Huge thanks to @​gtjoseph, @​timruffles and @​FantasticFiasco for their help!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Mar 23, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant